<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //左右两边结构一致 右边代码完全正确
        let wangfei = {
            name : '王菲',
            sings: ['匆匆那年','红豆','相思','因为爱情'],
            history: ['窦唯','李亚鹏','谢霆锋']
        }
        let {name,sings:[a,b,c,d],history} = wangfei;
        console.log(name);
        console.log(a,b,c,d);
        console.log(history);
    </script>
</body>
</html>